#include <stdio.h>
#include "esp_err.h"

void app_main(void)
{
    // gpio测试
    //extern void bsp_led_init();
    //bsp_led_init();

    //extern void bsp_led_set_state(uint8_t flag);
    //bsp_led_set_state(0);
    
    // pwm测试案例
    //extern void example_pwm_ledc_test();
    //example_pwm_ledc_test();

    // 蓝牙hid案例
    //extern void example_ble_hid_demo(void);
    //example_ble_hid_demo();

    // ws2812示例程序
    //extern void example_ws2812_test(void);
    //example_ws2812_test();

    //extern esp_err_t bsp_i2c_init(void);
    //bsp_i2c_init();

    //extern void pca9557_init(void);
    //pca9557_init();
    //extern void lcd_cs(uint8_t level);
    //lcd_cs(1);

    // st7789显示
    //extern void example_st7789_test();
    //example_st7789_test();

    //extern void example_jd9853_test();
    //example_jd9853_test();

    //extern void example_st7789_lvgl_test();
    //example_st7789_lvgl_test();

    // sdcard测试
    //extern void example_sdcard_test();
    //example_sdcard_test();

    // 音频测试
    //extern void example_audio_test(void);
    //example_audio_test();

    // 离线语音识别
    //extern void example_sr_test();
    //example_sr_test();

    // 摄像头测试
    //extern void example_camera_test();
    //example_camera_test();

    // wifi扫描测试
    //extern void example_scan_wifi(void);
    //example_scan_wifi();
    
    // wifi连接测试
    //extern void example_connect_wifi(void);
    //example_connect_wifi();

    printf("======================================================================");

    // sntp测试
    //extern void example_sntp_test(void);
    //example_sntp_test();

    // ssd1306
    //extern void example_ssd1306_main(void);
    //example_ssd1306_main();

    // adc 
    //extern void example_adc_app_main(void);
    //example_adc_app_main();

    // step步进电机
    //extern void example_step_app_main();
    //example_step_app_main();

    // 打印机
    //extern void example_printer_one_line_main(void);
    //example_printer_one_line_main();
    //extern void example_printer_multi_line_main(void);
    //example_printer_multi_line_main();

    // 串口
    //extern void example_uart0_main();
    //example_uart0_main();
    
    //extern void example_usb_serial_app_main(void);
    //example_usb_serial_app_main();
    //extern void example_printer_app_main(void);
    //example_printer_app_main();

    //SC12B触摸面板测试
    //extern void example_SC12B_test_main();
    //example_SC12B_test_main();

    // EC12D旋钮
    //extern void example_EC12D_test_main();
    //example_EC12D_test_main();

    // 188数码管
    //extern void example_LED188_test_main();
    //example_LED188_test_main();

    // 指纹模块
    //extern void example_finger_main();
    //example_finger_main();

    // MQTTdemo
    //extern void example_mqtt_demo(void);
    //example_mqtt_demo();

    //extern void exmaple_qmc5883_test();
    //exmaple_qmc5883_test();
}